package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2021-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goods_smaller")
@ApiModel(value="GoodsSmaller对象", description="")
public class GoodsSmaller implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "3级类id")
    @TableId(value = "goods_smaller_id", type = IdType.AUTO)
    private Integer goodsSmallerId;

    @ApiModelProperty(value = "3级类名称")
    @TableField("goods_smaller_name")
    private String goodsSmallerName;

    @ApiModelProperty(value = "关联2级小类id")
    @TableField("goods_small_id")
    private Integer goodsSmallId;

    @ApiModelProperty(value = "冗余2级类名")
    @TableField("goods_small_name")
    private String goodsSmallName;

    @ApiModelProperty(value = "3级类级别：默认三级")
    @TableField("goods_smaller_leave")
    private String goodsSmallerLeave;

    @ApiModelProperty(value = "单位")
    @TableField("goods_smaller_unit")
    private String goodsSmallerUnit;

    @ApiModelProperty(value = "3级类显示状态：默认0:显示")
    @TableField("goods_smaller_status")
    private Integer goodsSmallerStatus;


}
